package com.wyzz.hr.bo;

import java.util.List;

import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Leavebalance;
import com.wyzz.hr.pojo.Leavetype;
import com.wyzz.hr.util.Pager;
import com.wyzz.hr.vo.LeaveBalanceSearchBean;

public interface ILeavebalanceBO {

	public abstract Leavebalance getLeavebalance(Employee employee, String s);

	public abstract List getHistoryLeavebalanceList(
			LeaveBalanceSearchBean leavebalancesearchbean, Pager pager);

	public abstract List getLeavebalanceList(
			LeaveBalanceSearchBean leavebalancesearchbean, Pager pager,
			List list);

	public abstract List getEmpWithLB(Leavebalance leavebalance, Pager pager);

	public abstract List getEmpWithoutLB(Leavebalance leavebalance, Pager pager);

	public abstract List exeLeaveBalanceInit(String as[], Integer ainteger[],
			String s);

	public abstract List exeSubmitLeaveBalance(String as[], Integer ainteger[],
			String s);

	public abstract List exeSubmitLeaveBalance(String as[]);

	public abstract List exeDeleteLeaveBalance(String as[]);

	public abstract List exeDeleteLeaveBalance(String as[], Integer ainteger[],
			String s);

	public abstract Leavebalance getLeaveBalanceById(String s);

	public abstract void updateLeaveBalance(Leavebalance leavebalance);

	public abstract void saveOrUpdateLeaveBalance(List list);

	public abstract void deleteLeaveBalance(String s);

	public abstract List delLeavebalanceByYearAndEmp(Leavebalance leavebalance);

	public abstract List getAllYears();

	public abstract List getLeavebalanceForwardOfYear(int i);

	public abstract List getOtForwardOfYear(int i);

	public abstract List getLrForwardOfYear(int i);

	public abstract Leavebalance getLeavebalance(Employee employee, String s,
			Leavetype leavetype);

	public abstract List doSummaryEmpLeaveRequest(String s, String s1, String s2);

	public abstract List getEmpLBOfYear(List list, Integer integer, String s);

	public abstract List getLeaveBalance(List list, List list1, String s);
}
